﻿   @model IEnumerable<MusicOnLine.Models.AACInfo>
@{
    int i = 1;
    ViewBag.Title = "播放列表";
    }


@foreach (var item in Model)
{    
        <div style="  float:left;" class="divtopsongInfo">
            <div style=" float:left; width:20px; text-align:center;">@(i).</div>
            <div style=" float:left; width:230px;text-overflow:ellipsis;   white-space:nowrap; overflow:hidden;">@item.Name</div>
             <div style=" float:left; width:178px; text-overflow:ellipsis;  white-space:nowrap;overflow:hidden;">@Html.ActionLink(item.Artist, "SingerAlbums", "AACInfo", new { ID=item.ArtistID},null)</div>
            <div title="收藏" class="divCollect" data-ID="@item.ID"></div>    
            <div title="播放" class="topPlay" data-ID="@item.ID" data-Name="@item.Name" data-artist="@item.Artist" data-Location="@item.Location" data-action="@Url.Action("Play", "AACInfo",null,null)" style="float: left;"  >
                        </div> 
              <div title="添加" class="divAddSongs" data-ID="@item.ID" data-Name="@item.Name" data-artist="@item.Artist" data-Location="@item.Location" data-action="@Url.Action("Play", "AACInfo",null,null)"></div>                    
                          
        </div>      
        i++;       
}
